From 9d63d16e3e55c340d2eac73502595bcb742ef61e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Mon, 18 Apr 2011 01:21:21 +0100 Subject: [PATCH] Move documentation to inline comments: GtkWindowGroup --- docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkwindowgroup.sgml | 89 --------------------- gtk/gtkwindow.c | 15 ++++ 3 files changed, 16 insertions(+), 89 deletions(-) delete mode 100644 docs/reference/gtk/tmpl/gtkwindowgroup.sgml diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index 139e198b06..f4f7a77ef9 100644 --- a/docs/reference/gtk/tmpl/.gitignore +++ b/docs/reference/gtk/tmpl/.gitignore @@ -139,3 +139,4 @@ gtktreeview.sgml gtktreeviewcolumn.sgml gtktypeutils.sgml gtkwindow.sgml +gtkwindowgroup.sgml diff --git a/docs/reference/gtk/tmpl/gtkwindowgroup.sgml b/docs/reference/gtk/tmpl/gtkwindowgroup.sgml deleted file mode 100644 index 93368142ec..0000000000 --- a/docs/reference/gtk/tmpl/gtkwindowgroup.sgml +++ /dev/null @@ -1,89 +0,0 @@ - -GtkWindowGroup - - -Limit the effect of grabs - - - -#GtkWindowGroup objects are referenced by each window in the group, -so once you have added all windows to a #GtkWindowGroup, you can drop -the initial reference to the window group with g_object_unref(). If the -windows in the window group are subsequently destroyed, then they will -be removed from the window group and drop their references on the window -group; when all window have been removed, the window group will be -freed. - - - - - - - - - - - - - - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@window_group: -@window: - - - - - - - -@window_group: -@window: - - - - - - - -@window_group: -@Returns: - - - - - - - -@window_group: -@Returns: - - - - - - - -@window_group: -@device: -@Returns: - - diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index b046669619..0b7886675a 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -8169,6 +8169,21 @@ gtk_window_has_toplevel_focus (GtkWindow *window) return window->priv->has_toplevel_focus; } + +/** + * SECTION:gtkwindowgroup + * @Short_description: Limit the effect of grabs + * @Title: GtkWindowGroup + * + * #GtkWindowGroup objects are referenced by each window in the group, + * so once you have added all windows to a #GtkWindowGroup, you can drop + * the initial reference to the window group with g_object_unref(). If the + * windows in the window group are subsequently destroyed, then they will + * be removed from the window group and drop their references on the window + * group; when all window have been removed, the window group will be + * freed. + */ + G_DEFINE_TYPE (GtkWindowGroup, gtk_window_group, G_TYPE_OBJECT) static void -- 2.30.2